package com.webapp.controller;

import com.alibaba.fastjson.JSONObject;
import com.example.annotations.Auth;
import com.example.annotations.GetMapping;
import com.example.annotations.RestController;
import com.example.utils.Results;

/**
 * @Classname WebApplication
 * @Description TODO
 * @Date 2022/8/4 11:55
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@RestController("/webapp")
public class WebApplication {

    @Auth
    @GetMapping("/test")
    public JSONObject webController(){
        return Results.success("测试应用");
    }
}
